﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Merit_Pay_140418.aspx.cs" Inherits="ukeasbjWeb.Merit_Pay_140418" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>140418版顾问业绩计算</title>
		<!-- 可修改区域：标题 Begin -->
		<!-- 可修改区域：标题 End -->
        <meta http-equiv="Content-Type" content="text/html; charset=gb2312"/>
		<%    
			Response.WriteFile ("HeadComm.inc"); 
		%>   
</head>
<body>
    <table id="Tab_Frame" cellspacing="0" cellpadding="0" width="98%" align="center" border="0">
		<tr> <!-- 分割栏 -->
			<td height="1"><font face="宋体"></font></td> 
		</tr>
    </table>
	<!-- 可修改区域：正文区Top -->
	<form id="form_Salary" method="post" runat="server">
         绩效工资记录：
        <table id="Table_List_Salary" bordercolor="#99cc66" cellspacing="0" cellpadding="1" bgcolor="palegoldenrod"
							border="1" runat="server">
		</table>
        <hr />
		<table id="Tab_Body" cellspacing="0" cellpadding="0" width="100%" align="center" bgcolor="#99cc66"
								border="0">
			<tr valign="middle" >
				<td align="left" width="46%"><font face="宋体" size="2">"<font color="#0000ff"><% = Session["Office"] %>
							:<% = Session["Email"] %></font>":正确填写基础信息后，当月业绩数据会在本网页计算后生成，自2014年4月开始， 试用140418版顾问业绩表。</font></td>
				<td align="right">地区:<% = Request["Office"] %>
						顾问（文案）:
						<asp:dropdownlist id="DDList_Counsellor_Writer" runat="server" width="60px" DataValueField="Code_Employee"
							DataTextField="C_N_Employee"></asp:dropdownlist>年-月:
						<asp:textbox id="TextBox_Year_Month" runat="server" width="76" MaxLength="20"></asp:textbox><asp:regularexpressionvalidator id="RFV_Year_Month" ControlToValidate="TextBox_Year_Month" ErrorMessage="范例:'2009-9'"
							ValidationExpression="[0-9]{4}(-){1}[0-9]{1,2}" Runat="server" Display="Dynamic"></asp:regularexpressionvalidator>
                            更改顾问级别:
						<asp:textbox id="TextBox_Level_Counsellor" runat="server" width="36" MaxLength="2"></asp:textbox><asp:regularexpressionvalidator id="Regularexpressionvalidator1" ControlToValidate="TextBox_Level_Counsellor" ErrorMessage="只能输入数字1至4"
							ValidationExpression="[0-4]{1}" Runat="server" Display="Dynamic"></asp:regularexpressionvalidator>
                            更改解冻工资:
						<asp:textbox id="TextBox_Merit_Pay_UnFrozen" runat="server" width="36" MaxLength="12"></asp:textbox>

                        <asp:checkbox id="CheckBox_Allowed_Calculation" runat="server" width="140" TextAlign="Left" Text="允许计算本月绩效工资"></asp:checkbox>
                        <asp:button id="Bt_Refress_Search" runat="server" Text="刷新/计算" 
                              onclick="Bt_Refress_Search_Click"></asp:button></td>
			</tr>
		</table>
		<!-- 可修改区域：测试 hemltable 表 Top -->
			<hr size="1"/>
			<table  cellspacing="0" cellpadding="1" bgcolor="palegoldenrod" border="1">
				<tr>
					<td>顾问当月业绩=(实收金额－实退金额)<table id="Table1" bordercolor="#99cc66" cellspacing="0" cellpadding="1" bgcolor="palegoldenrod"
							border="1" runat="server">
							<tr><td align="center">当月合同签约
							<table id="Table_Contract_Qianyue"  bordercolor="#99cc66" cellspacing="0" cellpadding="1" bgcolor="palegoldenrod"
							border="1" runat="server">
						    </table>
							</td>
							<td align="center">当月合同退款
							<table id="Table_Contract_Tuikuan"  bordercolor="#99cc66" cellspacing="0" cellpadding="1" bgcolor="palegoldenrod"
							border="1" runat="server">
							</table>	
                        	</td>
						    </tr>
						    <tr>
						    <td></td>
						    <td>当月全部合同总计:<asp:label id="Label_Total" runat="server" EnableViewState="true"></asp:label></td>
						    </tr>
						 </table>
    				</td>
	    			
				</tr>
				
				
			</table>
        		<!-- 可修改区域：测试 hemltable 表 Bottom -->
		        <!-- 可修改区域：正文区Bottom -->
        		<table align="center" border="1">
		        	<tr valign="middle" align="center" >
		        	<td align="left">
                        <ol type="1">
                            <li>当月业绩超额部分只能用于弥补前面月份的缺口，不能用于补差后面月份；</li>
                            <li>2014年1-12月中的任何月份，只要拉平前面月份的缺口，顾问即可当月提出解冻申报（列明销售业绩、解冻金额），地区经理核对后发至cherry_zhang@promisingedu.com,人事部核对无误后通知财务部发放；</li>
                            <li>本系统尚在试行期，绩效工资表的数据仅为参考，实际以财务部为准。</li>
                        </ol>
                        </td>
				        <td colspan="2" height="30">请先在网页上计算，数据无误后，再发送（Excel表）：<asp:button id="Bt_Bonus_Exel" 
                                       runat="server" Text="到您的邮箱" onclick="Bt_Bonus_Exel_Click"></asp:button>
        				</td>
        			</tr>
        		</table>
    </form>
	<table align="center" border="0">
			<tr valign="middle" align="center" > <!-- 版权声明区Top -->
					<!-- 版权声明区Top -->
				<%  Response.WriteFile ("main_bottom.inc");  %>
			</tr> <!-- 版权声明区Bottom -->
	</table>

</body>
</html>

